-- GENERATED SPELL FOR [Gerald Green] --


function spell0_26083(pUnit, Event) --@Cleave,n/a--
pUnit:FullCastSpellOnTarget(40504,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26083', 573, 1)
end

function Sorts_26083(pUnit, Event)
local choix_sorts_26083 = math.random(0, 0)
if choix_sorts_26083 == 0 then
pUnit:RegisterEvent('spell0_26083', 1, 1)
end
end

function mob26083_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26083', math.random(1500, 3000), 1)
end

function mob26083_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26083_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26083_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26083, 1, 'mob26083_Action')
RegisterUnitEvent(26083, 2, 'mob26083_Leave')
RegisterUnitEvent(26083, 3, 'mob26083_Kill')
RegisterUnitEvent(26083, 4, 'mob26083_Die')
